/**
 * 全局公共头部定义
 *  参考文章： https://blog.csdn.net/qq_33236581/article/details/99672186
 * @type {(string|{rel: string, href: string})[][]}
 */
module.exports = [
    ['link', {rel: 'icon', href: '/favicon.ico'}],
    ['meta', { name: 'X-UA-Compatible', content: 'IE=edge,chrome=1' }],
    ['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'blank' }],
    ['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }],
    ['meta', { name: 'format-detection', content: 'telephone=no' }],
    ['meta', { name: 'viewport', content: 'width=device-width,initial-scale=1,user-scalable=no' }],
    ['link', { rel: 'stylesheet', href: 'https://ico.z01.com/zico.min.css' }],
    ['link', { rel: 'stylesheet', href: 'https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.13.3/katex.min.css' }],
    ['link', { rel: "stylesheet", href: "https://cdnjs.cloudflare.com/ajax/libs/github-markdown-css/4.0.0/github-markdown.min.css" }],
    ['link', { rel: 'stylesheet', href: 'https://www.layuicdn.com/layui/css/layui.css' }],
    ['script', { src: "https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js" }],
    ["script",{},`
      var _hmt = _hmt || [];
      (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?f1cd61b856dea52a9546a75fdca0db8a";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();
    `]
]

